package uri.model.board;

import java.util.HashMap;
import java.util.List;

import uri.model.BoardVO;
import uri.model.CommentVO;
import uri.model.FileVO;

public interface PublicDAO {
	public BoardVO detailBoard(String no);
	public void hitUp(String no);
	public List<CommentVO> getAllComment(String no);
	public int writeComment(CommentVO cvo);
	public int deleteComment(String no);
	void boardWrite(BoardVO bvo);
	void fileUpload(FileVO fvo);
	public List<BoardVO> getPublicBoardListNullPage();
	public List<BoardVO> getPublicBoardListNowPage(String nowPage);
	public int publicboardTotalCount();
	public List<String> findFileNameByPubNo(String no);
	public void deleteBoardByPubNo(String no);
	public List<HashMap> findOrgAndNewFileListByPubNo(String no);
	public int updateComment(HashMap map);
	public BoardVO replyBoardWriteInfo(String no);
	public void replyBoardWrite(BoardVO bvo);
	public List<BoardVO> searchPublicBoardListByTitleNullPage(HashMap map);
	public List<BoardVO> searchPublicBoardListByTitleNowPage(HashMap map);
	public int findTitleCount(String word);
	public int findTitleAndContentCount(String word);
	public int findContentCount(String word);
	public List<BoardVO> searchPublicBoardListByContentNowPage(HashMap map);
	public List<BoardVO> searchPublicBoardListByContentNullPage(HashMap map);
	public List<BoardVO> searchPublicBoardListByTitleAndContentNowPage(HashMap map);
	public List<BoardVO> searchPublicBoardListByTitleAndContentNullPage(HashMap map);
	public BoardVO updatePublicBoardInfo(String no);
	public void deleteFileByFileNo(String fileNo);
	public void updatePublicBoard(BoardVO bvo);
	public void updateLike(String no);
}